#ifndef MISC_H
#define MISC_H

#include <stdint.h>

class Misc
{
public:
    Misc();
    static int64_t getTimeStamp();

    static uint32_t toSecond(uint16_t hour, uint16_t minute, uint16_t second);
    static void toHourMinuteSecond(uint32_t totalSecond, uint16_t *hour, uint16_t *minute, uint16_t *second);
};

#endif // MISC_H
